package com.lhz.project.system.service.auth;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lhz.common.page.BaseQueryParam;
import com.lhz.project.system.model.entity.auth.User;
import com.lhz.project.system.model.param.base.UserParam;

import java.util.List;

/**
 * @author LiHuaZhi
 * @since 2020-06-12 22:30:48
 */
public interface UserService extends IService<User> {

    User selectByPrimaryKey(String id);

    Object listUser(BaseQueryParam param);

    int insert(UserParam param);

    int updateByPrimaryKey(UserParam param);

    int deletePhyByPrimaryKey(String id);

    int deletePhyByPrimaryKeys(List<String> ids);

    //查询用户-角色分配
    Object getUserRole(String userId);
}